package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_stk_apply_l")
@ApiModel(value="t_stk_apply_l对象", description="其他出库申请详情表")
public class StkApplyDetail  extends Model<StkApplyDetail> {
    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "FID")
    @ApiModelProperty(name = "FID" , value = "单据内码")
    private Long FID;

    @TableField(value = "FENTRYID")
    @ApiModelProperty(name = "FENTRYID" , value = "分录内码")
    private Long FENTRYID;

    @TableField(value = "FMATERIALNO")
    @ApiModelProperty(name = "FMATERIALNO" , value = "物料编码")
    private String FMATERIALNO;


    @TableField(value = "FMATERIALNAME")
    @ApiModelProperty(name = "FMATERIALNAME" , value = "物料名称")
    private String FMATERIALNAME;


    @TableField(value = "FSPECIFICATION")
    @ApiModelProperty(name = "FSPECIFICATION" , value = "规格")
    private String FSPECIFICATION;

    @TableField(value = "FUNITNAME")
    @ApiModelProperty(name = "FUNITNAME" , value = "单位名称")
    private String FUNITNAME;

    @TableField(value = "FUNITNO")
    @ApiModelProperty(name = "FUNITNO" , value = "单位编码")
    private String FUNITNO;

    @TableField(value = "FQTY")
    @ApiModelProperty(name = "FQTY" , value = "申请数量")
    private Double FQTY;

    @TableField(value = "FSTOCKNO")
    @ApiModelProperty(name = "FSTOCKNO" , value = "仓库编码")
    private String FSTOCKNO;

    @TableField(value = "FSTOCKNAME")
    @ApiModelProperty(name = "FSTOCKNAME" , value = "仓库名称")
    private String FSTOCKNAME;


    @TableField(value = "FLOCATIONNO")
    @ApiModelProperty(name = "FLOCATIONNO" , value = "仓位编码")
    private String FLOCATIONNO;


    @TableField(value = "FLOCATIONNAME")
    @ApiModelProperty(name = "FLOCATIONNAME" , value = "仓位名称")
    private String FLOCATIONNAME;


    @TableField(value = "CLOSTSTATUS")
    @ApiModelProperty(name = "CLOSTSTATUS" , value = "关闭状态")
    private int CLOSTSTATUS;

    @TableField(exist = false)
    private StkApply stkApply;
}
